



Esemény egy teszt programról...
TSCEvTSCEvTSCEvafterTSCEv24TSCEvnoneTSCEv#000000`, uniqueId, setMonth, setYear, dayQty); }).fail(function () { console.error('Error Data...'); }); } var divs = $("#" + uniqueId + " .m-d"); for (var i = 0; i "); } } setMonthly(currentMonth, currentYear); function viewToggleButton() { if ($('#' + uniqueId + ' .monthly-event-list').is(":visible")) { $('#' + uniqueId + ' .monthly-cal').remove(); $('#' + uniqueId + ' .monthly-header-title').prepend(''); } } $(document.body).on('click', '#' + uniqueId + ' .monthly-next', function (e) { $('.TS_Calendar_loading_315333').css('display', 'block'); var setMonth = $('#' + uniqueId).data('setMonth'), setYear = $('#' + uniqueId).data('setYear'); if (setMonth == 12) { var newMonth = 1, newYear = setYear + 1; setMonthly(newMonth, newYear); } else { var newMonth = setMonth + 1, newYear = setYear; setMonthly(newMonth, newYear); } viewToggleButton(); e.preventDefault(); setTimeout(function () { $('.TS_Calendar_loading_315333').css('display', 'none'); }, 1000) }); $(document.body).on('click', '#' + uniqueId + ' .monthly-prev', function (e) { $('.TS_Calendar_loading_315333').css('display', 'block'); var setMonth = $('#' + uniqueId).data('setMonth'), setYear = $('#' + uniqueId).data('setYear'); if (setMonth == 1) { var newMonth = 12, newYear = setYear - 1; setMonthly(newMonth, newYear); } else { var newMonth = setMonth - 1, newYear = setYear; setMonthly(newMonth, newYear); } viewToggleButton(); e.preventDefault(); setTimeout(function () { $('.TS_Calendar_loading_315333').css('display', 'none'); }, 1000) }); $(document.body).on('click', '#' + uniqueId + ' .monthly-reset', function (e) { $('.TS_Calendar_loading_315333').css('display', 'block'); setMonthly(currentMonth, currentYear); viewToggleButton(); e.preventDefault(); e.stopPropagation(); setTimeout(function () { $('.TS_Calendar_loading_315333').css('display', 'none'); }, 1000) }); $(document.body).on('click', '#' + uniqueId + ' .monthly-cal', function (e) { $('.TS_Calendar_loading_315333').css('display', 'block'); $(this).remove(); $('#' + uniqueId + ' .monthly-event-list').css('transform', 'scale(0)').delay('800').hide(); e.preventDefault(); setTimeout(function () { $('.TS_Calendar_loading_315333').css('display', 'none'); }, 1000) }); $(document.body).on('click', '#' + uniqueId + ' a.monthly-day', function (e) { if (options.mode == 'event' && options.eventList == true) { var whichDay = $(this).data('number'); if ($('#' + uniqueId + ' .monthly-list-item[data-number="' + whichDay + '"]').hasClass('item-has-event')) { $('#' + uniqueId + ' .monthly-event-list').show(); $('#' + uniqueId + ' .monthly-event-list').css('transform'); $('#' + uniqueId + ' .monthly-event-list').css('transform', 'scale(1)'); $('#' + uniqueId + ' .monthly-list-item[data-number="' + whichDay + '"]').show(); var myElement = document.getElementById(uniqueId + 'day' + whichDay); var topPos = myElement.offsetTop; $('#' + uniqueId + ' .monthly-event-list').scrollTop(topPos); viewToggleButton(); } } e.preventDefault(); }); $(document.body).on('click', '#' + uniqueId + ' .listed-event', function (e) { var href = $(this).attr('href'); if (!href) { e.preventDefault(); } }); } }); })(jQuery); jQuery(window).load(function () { jQuery('#totalsoftcal_315333').monthly315333({ mode: 'event', weekStart: 'Mon', }); });